package com.spring.learning.result;

public class BaseResponseInfo {
	public int code = ResultErrorCode.OK.getCode();

	public Object data;

	public BaseResponseInfo() {

	}

	public BaseResponseInfo(int code) {
		this(code, null);
	}

	public BaseResponseInfo(int code, Object data) {
		this();
		this.code = code;
		this.data = data;
	}
}
